<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数组的链接</title>
</head>
<body>
    <script>
        var arr=[
                    ['慕','课','网'],
                    ['程','序','员'],
                    ['梦','工','厂']         
        ];
        var n=[];
        for(var i=0;i<3;i++){
            for(var j=0;j<3;j++){
            n.push(arr[i][j]);
            }
        }
        n.splice(3,0,',');
        n.splice(7,0,'的');
   
        document.write(n.join(''));
        </Script>
</body>
</html>